package com.transaction.demo.message.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("批量发送消息vo")
public class ReSendAllDeadMessageByQueueNameReqVo implements Serializable {

	@ApiModelProperty("消费队列")
	@NotBlank(message = "consumerQueue消费队列不能为空")
	private String consumerQueue;

	@ApiModelProperty("每次发送的数量")
	@NotNull(message = "messageSendCount每次发送的数量不能为空")
	private Integer messageSendCount;

}
